package com.hyt.it.ogt.pj.model.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;
import java.util.List;

/**
 * 同步数据vo
 */
@Data
public class SynDataVo {

    @ApiModelProperty(value = "任务id,现考现评取pj_project#task_id")
    private String taskId;

    @ApiModelProperty(value = "任务名称")
    private String taskName;

    @ApiModelProperty(value = "考试分类，多个是逗号分割")
    private String testClassify;

    @ApiModelProperty(value = "考试id 现考现评取pj_project#id")
    private String examId;

    @ApiModelProperty(value = "考试名称")
    private String examName;

    @ApiModelProperty(value = "考生id")
    private String candidateId;

    @ApiModelProperty(value = "准考证号")
    private String admissionNo;

    @ApiModelProperty(value = "机构")
    private String officeId;

    @ApiModelProperty(value = "部门ID")
    private String deptId;

    @ApiModelProperty(value = "任务开始时间")
    @JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date taskBeginDate;

    @ApiModelProperty(value = "任务结束时间")
    @JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date taskEndDate;

    @ApiModelProperty(value = "考生考试用时")
    private Long useTime;

    @ApiModelProperty(value = "开始考试时间")
    @JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date beginTime;

    @ApiModelProperty(value = "是否保存最高分")
    private Boolean keepHighestScore;

    @ApiModelProperty(value = "省份编码")
    private String provinceCode;

    @ApiModelProperty(value = "市编码")
    private String cityCode;

    @ApiModelProperty(value = "县编码")
    private String countryCode;

    @ApiModelProperty(value = "分数线，subjectInfo所有试卷加起来的分数线，过了就合格")
    private BigDecimal scoreLine;

    @ApiModelProperty(value = "配置信息")
    private List<SynCandidateConfigVo> candidateConfig;

    @ApiModelProperty(value = "配置值信息")
    private List<SynCandidateInfoVo> candidateInfo;

    @ApiModelProperty(value = "科目信息")
    private List<SynSubjectInfoVo> subjectInfo;


}
